import instance  from "../utils/request";

export function getcaptcha(){
    return instance({
        url:'/captcha/api/math',
        method:'get',
    })
}


export function loginApi(data){
    return instance({
        url:'/api/common/auth/login',
        method:'post',
        data,
    })
}


export function getUserList(data){
    return instance({
        url:'/api/users',
        method:'get',
        params:data
    })
}